﻿using System;
using System.ComponentModel;
using System.Xml.Serialization;
using DevExpress.Xpo;
using DevExpress.Xpo.Metadata;
using DevExpress.Xpo.Helpers;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    [Persistent("TopArticleBizOrder")]
    public class ArticleBizOrder : BaseObject
    {
        //begin
        public ArticleBizOrder()
        {}
        public ArticleBizOrder(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _BizOrderId;
        public string BizOrderId
        {
            get
            {
                return _BizOrderId;
            }
            set
            {
                SetPropertyValue("BizOrderId", ref _BizOrderId, value);
            }
        }
        private string _OrderId;
        public string OrderId
        {
            get
            {
                return _OrderId;
            }
            set
            {
                SetPropertyValue("OrderId", ref _OrderId, value);
            }
        }
        private string _Nick;
        public string Nick
        {
            get
            {
                return _Nick;
            }
            set
            {
                SetPropertyValue("Nick", ref _Nick, value);
            }
        }
        private string _ArticleName;
        public string ArticleName
        {
            get
            {
                return _ArticleName;
            }
            set
            {
                SetPropertyValue("ArticleName", ref _ArticleName, value);
            }
        }
        private string _ArticleCode;
        public string ArticleCode
        {
            get
            {
                return _ArticleCode;
            }
            set
            {
                SetPropertyValue("ArticleCode", ref _ArticleCode, value);
            }
        }
        private string _ItemName;
        public string ItemName
        {
            get
            {
                return _ItemName;
            }
            set
            {
                SetPropertyValue("ItemName", ref _ItemName, value);
            }
        }
        private string _ItemCode;
        public string ItemCode
        {
            get
            {
                return _ItemCode;
            }
            set
            {
                SetPropertyValue("ItemCode", ref _ItemCode, value);
            }
        }
        private DateTime _Create;
        public DateTime Create
        {
            get
            {
                return _Create;
            }
            set
            {
                SetPropertyValue("Create", ref _Create, value);
            }
        }
        private string _OrderCycle;
        public string OrderCycle
        {
            get
            {
                return _OrderCycle;
            }
            set
            {
                SetPropertyValue("OrderCycle", ref _OrderCycle, value);
            }
        }
        private DateTime _OrderCycleStart;
        public DateTime OrderCycleStart
        {
            get
            {
                return _OrderCycleStart;
            }
            set
            {
                SetPropertyValue("OrderCycleStart", ref _OrderCycleStart, value);
            }
        }
        private DateTime _OrderCycleEnd;
        public DateTime OrderCycleEnd
        {
            get
            {
                return _OrderCycleEnd;
            }
            set
            {
                SetPropertyValue("OrderCycleEnd", ref _OrderCycleEnd, value);
            }
        }
        private long _BizType;
        public long BizType
        {
            get
            {
                return _BizType;
            }
            set
            {
                SetPropertyValue("BizType", ref _BizType, value);
            }
        }
        private string _Fee;
        public string Fee
        {
            get
            {
                return _Fee;
            }
            set
            {
                SetPropertyValue("Fee", ref _Fee, value);
            }
        }
        private string _PromFee;
        public string PromFee
        {
            get
            {
                return _PromFee;
            }
            set
            {
                SetPropertyValue("PromFee", ref _PromFee, value);
            }
        }
        private string _RefundFee;
        public string RefundFee
        {
            get
            {
                return _RefundFee;
            }
            set
            {
                SetPropertyValue("RefundFee", ref _RefundFee, value);
            }
        }
        private string _TotalPayFee;
        public string TotalPayFee
        {
            get
            {
                return _TotalPayFee;
            }
            set
            {
                SetPropertyValue("TotalPayFee", ref _TotalPayFee, value);
            }
        }
        //end
    }
}
